home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 1.iso / dist / fw_curl.idb / usr / freeware / catman / p_man / cat3 / curl_global_init.Z / curl_global_init
Text File  |  2002-07-08  |  2KB  |  63 lines

  1. curl_global_init(3)      libcurl Manual      curl_global_init(3)
  2.  
  3.  
  4.  
  5. NNAAMMEE
  6.        curl_global_init    - Global libcurl initialisation
  7.  
  8. SSYYNNOOPPSSIISS
  9.        ##iinncclluuddee    <<ccuurrll//ccuurrll..hh>>
  10.  
  11.        CCUURRLLccooddee    ccuurrll__gglloobbaall__iinniitt((lloonngg _f_l_a_g_s));;
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        This  function  should  only be called once (no matter how
  15.        many threads or libcurl sessions    that'll    be used) by every
  16.        application that    uses libcurl.
  17.  
  18.        If  this     function hasn't been invoked when _c_u_r_l___e_a_s_y___i_n_i_t
  19.        is called, it will be done automatically    by libcurl.
  20.  
  21.        The flags option    is a bit pattern that tells libcurl exact
  22.        what features to    init, as described below. Set the desired
  23.        bits by ORing the values    together.
  24.  
  25.        You must    however    aallwwaayyss use the _c_u_r_l___g_l_o_b_a_l___c_l_e_a_n_u_p  func
  26.        tion,  as  that    cannot be called automatically for you by
  27.        libcurl.
  28.  
  29.        Calling this function more than    once  will  cause  unpre
  30.        dictable    results.
  31.  
  32.        This function was added in libcurl 7.8.
  33.  
  34. FFLLAAGGSS
  35.        CCUURRLL__GGLLOOBBAALL__AALLLL
  36.         Initialize    everything  possible. This sets    all known
  37.         bits.
  38.  
  39.        CCUURRLL__GGLLOOBBAALL__SSSSLL
  40.         Initialize SSL
  41.  
  42.        CCUURRLL__GGLLOOBBAALL__WWIINN3322
  43.         Initialize the  Win32  socket  libraries.  (added  in
  44.         libcurl 7.8.1)
  45.  
  46.        CCUURRLL__GGLLOOBBAALL__NNOOTTHHIINNGG
  47.         Initialise nothing extra. This sets    no bit.
  48.  
  49. RREETTUURRNN VVAALLUUEE
  50.        If  this     function  returns non-zero, something went wrong
  51.        and you cannot use the other curl functions.
  52.  
  53. SSEEEE AALLSSOO
  54.        ccuurrll__gglloobbaall__cclleeaannuupp(3),
  55.  
  56. BBUUGGSS
  57.        None.
  58.  
  59.  
  60.  
  61.  
  62. libcurl    7.9.1           13 Nov 2001          curl_global_init(3)
  63.